import request from '@/utils/request'

//addRecommendDetail
export const addRecommendDetail = (params) => {
    return request({
        url: '/web/recommend-detail/addRecommendDetail',
        method: 'post',
        data: params
    })
}

//deleteRecommendDetail
export const removeRecommendDetail = (id) => {
    return request({
        url: '/web/recommend-detail/removeRecommendDetail/' + id,
        method: 'delete',
    })
}

//getRecommendCourse
export const getRecommendCourse = (companyId) => {
    return request({
        url: '/web/recommend-detail/getRecommendCourse/' + companyId,
        method: 'get',
    })
}

//getRecommendInformation
export const getRecommendInformation = (companyId) => {
    return request({
        url: '/web/recommend-detail/getRecommendInformation/' + companyId,
        method: 'get',
    })
}

//getRecommendVideo
export const getRecommendVideo = (companyId) => {
    return request({
        url: '/web/recommend-detail/getRecommendVideo/' + companyId,
        method: 'get',
    })
}